#include<stdio.h>
struct point {
    int x;
    int y;
};
struct rectangle{
    struct point p1;
    struct point p2;
};
void printRect(struct rectangle r){
    printf("<%d,%d>to<%d,%d>\n",r.p1.x,r.p1.y,r.p2.x,r.p2.y);
}
int main(int argc,char const *argv[]){
    int i;
    struct rectangle rects[]={{{1,2},{2,3}},{{3,4},{4,5}}};
    for(i=0;i<2;i++)printRect(rects[i]);
    return 0;
}